class CreateMessageRules < ActiveRecord::Migration
  def self.up
    create_table :message_rules do |t|
      t.references :user
      t.string :target_column
      t.string :rule_type
      t.string :rule_value
      t.integer :message_folder_id
    end
  end

  def self.down
    drop_table :message_rules
  end
end
